#ifndef MASTER_SITELOGIC_H
#define MASTER_SITELOGIC_H

#include <thread>
#include <atomic>
#include <cstdio>
#include <functional>
#include <unistd.h>

#include "siteService/nlohmann/json.hpp"
#include "siteService/service_site_manager.h"
#include "qlibc/FileUtils.h"
#include "common/httpUtil.h"
#include "log/Logging.h"

#include "param.h"
#include "serviceHandler.h"
#include "messageHandler.h"

using namespace std;
using namespace servicesite;
using namespace httplib;
using namespace std::placeholders;
using json = nlohmann::json;


int master_site_start();


#endif //MASTER_SITELOGIC_H


